package com.shoe.mapper;

import com.shoe.pojo.ShoeEvaluate;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CommentRepository extends MongoRepository<ShoeEvaluate,String > {

    Page<ShoeEvaluate> findByParentid(String parentid,Pageable pageable);

}
